<?php
/**
 * CreateTime: 2024/1/15 16:38
 * User:LinQ
 */

namespace App\Http\Controllers\Wx;

use App\Http\Requests\Wx\WxAppletRequest;
use App\Http\Service\Wx\WxAppletService;

class WxAppletController
{
    public function wxLogin(){
        $data = request()->only(['js_code','phone']);
        (new WxAppletRequest())->check($data);
        (new WxAppletService())->wxLogin($data);
    }
}
